package com.leizi.igym.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * @Author: leizi0110
 * @CreateTime: 2024-04-07  08:42
 * @Description:
 */

@Data
public class PostAddDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = -122207185258612082L;
    // 帖子标题
    private String title;

    // 帖子内容
    private String content;

    // 帖子照片
    private String pictures;

    // 帖子发布者id
    @JsonSerialize(using = ToStringSerializer.class)
    private Long userId;

}
